<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use App\BaseModel as Eloquent;

/**
 * Class MailConfig
 * 
 * @property int $id
 * @property int $hall_id
 * @property string $host
 * @property string $port
 * @property string $username
 * @property string $password
 * @property string $from_address
 * @property string $from_name
 * @property int $encryption
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 *
 * @package App\Models
 */
class MailConfig extends Eloquent
{
	protected $table = 'mail_config';

	protected $casts = [
		'hall_id' => 'int',
		'encryption' => 'int'
	];

	protected $hidden = [
		'password'
	];

	protected $fillable = [
		'hall_id',
		'host',
		'port',
		'username',
		'password',
		'from_address',
		'from_name',
		'encryption'
	];
}
